package org.AI.Cognition.common;

import java.util.List;
/**
 * 逻辑抽象类用于实例化为对象或者派生
 * @author caijie
 *
 */
public class SUBJECT_CLASS {
	private String name; //名字
	private String parent; //继承于什么
	private List<String> contents; //本体属性列表
	
	public SUBJECT_CLASS(String name,String parent,List<String>contents){
		this.name = name;
		this.parent = parent;
		this.contents = contents;
	}

	/**
	 * 获取名字
	 */
	public String getName(){
		return name;
	}
	/**
	 * 写入名字
	 */
	public void setName(String name){
		this.name = name;
	}
	/**
	 * 获取继承于谁
	 */
	public String getParent(){
		return parent;
	}
	/**
	 * 写入继承类名
	 */
	public void setParent(String parent){
		this.parent = parent;
	}
	/**
	 * 获取属性列表
	 */
	public List<String> getContent(){
		return contents;
	}
	/**
	 * 写入属性列表
	 */
	public void setContent(List<String> contents){
		this.contents = contents;
	}
}

